package dziennik;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

public abstract class GUI{
    Stage stage;
    AnchorPane parent;
    
    public GUI(Stage s) throws Exception{
        stage=s;
        
        AnchorPane ladowanie = FXMLLoader.load(getClass().getResource("/gui_fxml/login_ladowanie.fxml")); 
        Scene scene = new Scene(ladowanie);
        stage.setScene(scene);
        stage.show();
    }
}